package com.xintai.approval.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 采购申请单
 对象 flow_caigou_apply
 *
 * @author xintai
 * @date 2021-02-03
 */
public class FlowCaigouApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 采购物品类型 */
    @Excel(name = "采购物品类型")
    private String caigouType;

    /** 采购物品类型*/
    private String[] arrCaigou;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCaigouType(String caigouType)
    {
        this.caigouType = caigouType;
    }

    public String getCaigouType()
    {
        return caigouType;
    }

    public String[] getArrCaigou() {
        return arrCaigou;
    }

    public void setArrCaigou(String[] arrCaigou) {
        this.arrCaigou = arrCaigou;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("caigouType", getCaigouType())
                .toString();
    }
}
